﻿@{
    ViewBag.Title = "SelectOrganize";
    Layout = "~/Views/Shared/_LayoutChild.cshtml";
}
@section head
{
    <link href="@Url.Content("~/Content/zTreeStyle/zTreeStyle.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.ztree.all-3.0.min.js")" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        var selectId = "";
        var curSelectNode = null;
        var _nodes;
        $(document).ready(function () {
            loadOrganizationNoCheckParent(true); //checkenable 节点前有复选框
           // loadOrganization(true); //checkenable 
        });
        function zTreeMenuCheck(event, treeId, treeNode) {
            var nodes = treeObj.getCheckedNodes(true);
            _nodes = nodes;
            return;
        }
        function zTreeOnAsyncSuccess(event, treeId, treeNode) {
            treeObj = $.fn.zTree.getZTreeObj(treeId);
        }


    </script>
}
<!--左侧导航，不用时直接去掉-->
<div class="ui-layout-center">
    @Html.Partial("_OrganizationCheckTree")
</div>
